import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

import * as AllIcons from '@element-plus/icons-vue'

// 全局引入ui库
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App);
Object.entries(AllIcons).forEach(([iconName, icon]) => { app.component(iconName, icon); });
app.use(ElementPlus).use(router);
app.mount('#app');